<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    div {
      color: red;
      font-size: 14px;
    }
  </style>
</head>
<body>
  <div>
    <p>所谓继承性是指书写css样式表时，子标签会继承父标签的某些样式，如文本颜色和字号</p>
  </div>
</body>
</html>
